package com.cch.cooperation.api.bookkeepping.dto;

import com.cch.cooperation.dao.bookkeeping.model.Bookkeeping;
import com.cch.cooperation.dao.bookkeeping.model.BookkeepingCategory;
import com.cch.cooperation.dao.zone.dto.ZoneUserDTO;
import com.cch.cooperation.dao.zone.model.Zone;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 收支明细DTO
 *
 * @author cch
 */
@ApiModel("收支明细DTO")
@Data
public class BookkeepingDTO extends Bookkeeping {

    @ApiModelProperty(value = "类别")
    private BookkeepingCategory category;

    @ApiModelProperty(value = "空间")
    private Zone zone;

    @ApiModelProperty(value = "流水空间用户")
    private ZoneUserDTO user;

}
